package com.mine.main;

import com.mine.control.ControlTable;

public class InitDatebase {
	private static boolean flag = false;

	protected static void initDataBase(String path, String tableName)
			throws Exception {
		if (tableName.contains("stress")) {
			if (!flag)
				ControlTable.dropTargerTable(tableName);
			flag = true;
		} else {
			ControlTable.dropTargerTable(tableName);
		}
//		ControlTable.createTable(tableName);
//		ControlTable.inputTargerTable(path, tableName,type);
	}
	public static void main(String[] args) throws Exception {
		ControlTable.createTable("aa");
		ControlTable.inputTargerTable("/root/bug/20110402/langret.xml", "aa","JCK_LANG");
	}
}
